﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace FirstFloor.P2P.Reversi.Messages
{
    /// <summary>
    /// A move piece message
    /// </summary>
    public class MovePieceMessage
        : LocationMessage
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MovePieceMessage"/> class.
        /// </summary>
        /// <param name="x">The x.</param>
        /// <param name="y">The y.</param>
        public MovePieceMessage(int x, int y)
            : base(Message.MessageNameMovePiece, x, y)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="MovePieceMessage"/> class.
        /// </summary>
        /// <param name="parameters">The parameters.</param>
        public MovePieceMessage(string parameters)
            : base(Message.MessageNameMovePiece, parameters)
        {
        }
    }
}
